using MediatR;
using ProduceBasicData.Api.DTO;
using ProduceBasicData.ErrorCode;

namespace ProduceBasicData.Api.Application.Command.Material.Craft
{
    /// <summary>
    /// 获取工艺路线列表命令
    /// </summary>
    public class GetCraftListCommand : IRequest<ApiPaging<CraftDTO>>
    {
        /// <summary>
        /// 工艺路线类型
        /// </summary>
        public string? CraftType { get; set; }

        /// <summary>
        /// 工艺路线状态
        /// </summary>
        public string? CraftStatus { get; set; }
        /// <summary>
        /// 当前页
        /// </summary>
        public int PageIndex {get; set; }
        /// <summary>
        /// 页容量
        /// </summary>
        public int PageSize { get; set; }
    }
}
